<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="15702" systemVersion="19B88" minimumToolsVersion="Automatic" sourceLanguage="Swift" userDefinedModelVersionIdentifier="">
    <entity name="TodoItem" representedClassName=".TodoItem" syncable="YES" codeGenerationType="class">
        <attribute name="alert" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
        <attribute name="completed" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
        <attribute name="date" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
        <attribute name="isComplete" transient="YES" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
        <attribute name="manualSortOrder" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES"/>
        <attribute name="notes" optional="YES" attributeType="String"/>
        <attribute name="rawPriority" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
        <attribute name="sortingTitle" optional="YES" attributeType="String" derived="YES" derivationExpression="canonical:(title)"/>
        <attribute name="title" attributeType="String"/>
        <relationship name="list" maxCount="1" deletionRule="Nullify" destinationEntity="TodoItemList" inverseName="todoItems" inverseEntity="TodoItemList"/>
        <fetchIndex name="byTitle">
            <fetchIndexElement property="sortingTitle" type="Binary" order="ascending"/>
        </fetchIndex>
        <fetchIndex name="byDueDate" partialIndexPredicate="date != nil">
            <fetchIndexElement property="date" type="Binary" order="ascending"/>
        </fetchIndex>
        <fetchIndex name="byManualOrder">
            <fetchIndexElement property="manualSortOrder" type="Binary" order="ascending"/>
        </fetchIndex>
    </entity>
    <entity name="TodoItemList" representedClassName=".TodoItemList" syncable="YES" codeGenerationType="class">
        <attribute name="colorClass" attributeType="Transformable" valueTransformerName="SecureColorPermittedArchiver" customClassName=".ListColorClass"/>
        <attribute name="icon" attributeType="String" defaultValueString="list.bullet"/>
        <attribute name="isDefaultList" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
        <attribute name="manualSortOrder" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES"/>
        <attribute name="name" attributeType="String"/>
        <relationship name="todoItems" optional="YES" toMany="YES" deletionRule="Cascade" destinationEntity="TodoItem" inverseName="list" inverseEntity="TodoItem"/>
    </entity>
    <elements>
        <element name="TodoItem" positionX="-54" positionY="-9" width="128" height="193"/>
        <element name="TodoItemList" positionX="-27" positionY="45" width="128" height="133"/>
    </elements>
</model>